package modelo;

public class Producto {
	
	
	private int id;
	private String nombre;
	private float stock;
	private float precio;
	private int locked;
	
	public Producto(int id, String nombre, float stock,float precio, int locked) {
		super();
		this.id = id;
		this.nombre = nombre;
		this.stock = stock;
		this.precio = precio;
		this.locked = locked;
		
	}

	public Producto(String nombre,  float stock,float precio, int locked) {
		
		super();
		this.nombre = nombre;
		this.stock = stock;
		this.precio=precio;
		this.locked = locked;
		//this.id = 1;
	}

	public String toString(){
		
		return nombre;
	}
	
	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public int isLocked() {
		return locked;
	}

	public void setLocked(int locked) {
		this.locked = locked;
	}

	public String getNombre() {
		return nombre;
	}

	public void setNombre(String nombre) {
		this.nombre = nombre;
	}

	public float getStock() {
		return stock;
	}

	public void setStock(float stock) {
		this.stock = stock;
	}

	public int getLocked() {
		return locked;
	}

	public float getPrecio() {
		return precio;
	}

	public void setPrecio(float precio) {
		this.precio = precio;
	}

	

	
}
